//
//  YDActivity.h
//  IngCard
//
//  Created by kf on 2017/9/8.
//  Copyright © 2017年 IngDan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YDContact.h"

typedef enum : NSUInteger {
    YDActivity_contact = 1,
    YDActivity_card = 2,
} YDActivityType;

@interface YDActivity : NSObject
@property(nonatomic, strong) NSString *ID;
@property(nonatomic, assign) YDActivityType type;
@property(nonatomic, strong) NSString *content;
@property(nonatomic, strong) NSString *createTime;
@property(nonatomic, strong) NSMutableArray<YDContact *> *contacts;

+(YDActivity *) serializeWithJson:(NSDictionary *) dic;

+(YDActivity *) serializeWithSyncJson:(NSDictionary *) dic;
@end



@interface YDExchageInfo : NSObject
@property(nonatomic, strong) NSDate *date;
@property(nonatomic, strong) NSArray<NSString *> *cards;
@end
